{include file="public/header"}
<div class="page-content">
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
        <div class="widget am-cf" style=" height: 500px;">
            <div class="widget-head am-cf">
                <div class="widget-title am-cf">管理员列表</div>
            </div>
            <div class="widget-body am-fr">
                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                    <div class="am-form-group">
                    </div>
                </div>
                <div class="am-u-sm-12">
                    <div>
                        <a class="layui-btn layui-btn-normal" href="add">添加</a>
                    </div>
                    <table class="am-table am-table-compact am-table-striped tpl-table-black " id="dyntable">
                        <thead>
                        <tr>
                            <th class="head0 nosort">
                                <input type="checkbox" class="checkall" />
                            </th>
                            <th class="center">ID</th>
                            <th class="center">用户名</th>
                            <th class="center">状态</th>
                            <th class="center" colspan="4">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="adata" id="vo"}
                            <tr class="gradeX">
                                <td class="aligncenter">
	                               <span class="center">
	                                    <input type="checkbox" />
	                                </span>
                                </td>
                                <td class="am-text-middle">{$vo.mid}</td>
                                <td class="center">{$vo.username}</td>
                                <td class="am-text-middle">{$vo.status}
                                </td>
                                <td class="center">
                                    <a href="{:url('Admin/del',['no'=>$vo.mid])}" onclick="return confirm('你确定要删除吗?');" title="删除">
                                        <i class="am-icon-trash"></i> 删除
                                    </a>
                                </td>
                            </tr>
                        {/volist}
                        </tbody>
                    </table>
                    {$adata->render()}
                </div>
            </div>

        </div>

    </div>
</div>
</body>
</html>